<template>
  <div class="cml-container">
    <div class="header">
      <div class="left">
        <div class="avatar">
          <img
            src="../../assets/icons/vip.png"
            alt=""
          />
        </div>
        <div class="username">动向快乐</div>
      </div>
      <div class="right">
        <div>
          <button class="like">398</button>
        </div>
        <div>
          <button class="more">more</button>
        </div>
      </div>
    </div>
    <div class="content">为啥不查一下黑茶，安化黑茶</div>
    <div class="time">2小时前 • <button class="btn">回复Ta</button>
    </div>
    <div class="comment">
      <div class="item">
        <div><span class="username">199******57</span>：你是没挣着钱吧哈哈哈，一个茶叶能喝死你呀，你咋没喝水把你呛死，你这种人咋还活着</div>
      </div>
    </div>
    <div class="seperate"></div>
  </div>
</template>

<style lang="less">
.cml-container {
  display: felx;
  flex-direction: column;
  font-weight: 400;
  margin-top: 8px;

  .header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    .left {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      .avatar img {
        width: 36px;
        height: 36px;
      }
      .username {
        margin-left: 10px;
        font-size: 15px;
        color: #445e97;
      }
    }

    .right {
      display: flex;
      flex-direction: row;
      align-items: center;
      img {
        width: 18px;
        height: 18px;
        margin-right: 5px;
      }
      button {
        display: flex;
        align-items: center;
        height: 30px;
        font-size: 12px;
        color: #000;
        border: 0;
        background: #fff;
      }
      .like:active {
        opacity: 0.5;
      }
      .more:active {
        opacity: 0.5;
      }
    }
  }

  .content {
    margin-top: 10px;
    padding-left: 43px;
    margin-bottom: 12px;
    font-size: 17px;
    font-weight: 400;
    color: #000;
  }

  .time {
    padding-left: 43px;
    font-size: 14px;
    color: #9a9a9a;
    margin-bottom: 20px;
    button {
      color: #666666;
    }
    .btn:active {
      opacity: 0.5;
    }
  }

  .seperate {
    margin-top: 20px;
    margin-left: 43px;
    height: 1px;
    width: 100%;
    background: #eee;
  }

  .comment {
    .item {
      display: flex;
      flex-direction: row;
      padding-left: 43px;
      padding-right: 10px;

      font-size: 15px;
      color: #000;
      .username {
        color: #405b95;
      }
    }
  }
}
</style>
